package com.whynot.frame.ms.controller;

import com.whynot.frame.basic.mybatis.conroller.BaseTreeController;
import com.whynot.frame.ms.entities.SysMenu;
import com.whynot.frame.ms.service.impl.MenuServiceImpl;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "menu",description = "菜单接口")
@RequestMapping("/menu")
@RestController
public class MenuController extends BaseTreeController<MenuServiceImpl,SysMenu> {
    @Override
    protected String getTextPropertyName() {
        return "menuName";
    }
}
